//
//  WYCPictureCell.m
//  WYCweibo
//
//  Created by 魏云超 on 15/11/26.
//  Copyright © 2015年 魏云超. All rights reserved.
//

#import "WYCPictureCell.h"
#import <SDWebImage/UIImageView+WebCache.h>

@interface WYCPictureCell()
@property(weak,nonatomic)IBOutlet UIImageView * pictureView;
@end

@implementation WYCPictureCell

+(NSString *)identifier
{
    //获取cell重用标示符
    return @"pictureCell";
}
-(void)setPhoto:(WYCPhoto *)photo
{
    _photo = photo;
    NSURL *url = [NSURL URLWithString:_photo.thumbnail_pic];
    [self.pictureView sd_setImageWithURL:url placeholderImage:[UIImage imageNamed:@"abc"]];
    
}
@end
